package com.webapp.domain.entity;

import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 调解员地区帅选，此表数据新浪提供
 * @author administrator
 *
 */
@Entity
public class MediationArea extends BaseEntity{

	private long id;
	private long code;
	private String areaName;
	private long parentCode;
	private long areaType;
	private String fullName;
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name = "id")
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getCode() {
		return code;
	}
	public void setCode(long code) {
		this.code = code;
	}
	public String getAreaName() {
		return areaName;
	}
	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
	public long getParentCode() {
		return parentCode;
	}
	public void setParentCode(long parentCode) {
		this.parentCode = parentCode;
	}
	public long getAreaType() {
		return areaType;
	}
	public void setAreaType(long areaType) {
		this.areaType = areaType;
	}
	public String getFullName() {
		return fullName;
	}
	public void setFullName(String fullName) {
		this.fullName = fullName;
	}
	
	
}
